package cn.stylefeng.guns.modular.hp.dao;

import cn.stylefeng.guns.modular.hp.model.ExpertInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 专家介绍表 Mapper 接口
 * </p>
 *
 * @author xzqiang
 * @date 2018-12-12
 */
public interface ExpertInfoMapper extends BaseMapper<ExpertInfo> {

    /**
      * 获取专家介绍列表
     */
    List<Map<String, Object>> list(@Param("condition")String condition);

    List<ExpertInfo> departmentExpertList(@Param("departmentInfoId")String departmentInfoId);
    
    List<ExpertInfo> expertList();

    ExpertInfo getExpertInfoByPageInfoId(@Param("pageInfoId") String pageInfoId);

}